package com.yang.simple_rpc.client.net;

import com.yang.simple_rpc.common.service.Service;

/**
 * Netty客户端实现，传递的参数是需要请求的服务和参数字节数组
 * @author : morikawaaaa
 * @date : 2022
 */
public interface NetClient {
    byte[] sendRequest(byte[] bytes, Service service) throws InterruptedException;
}
